package com.whyalwaysmea.sell.repository;

import com.whyalwaysmea.sell.po.ProductInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Author: HanLong
 * @Date: Create in 2017/12/31 18:05
 * @Description:
 */
public interface ProductInfoRepository extends JpaRepository<ProductInfo, String> {

    List<ProductInfo> findByProductStatus(int status);
}
